package com.weixing.mall.provider.model.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.weixing.mall.core.support.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 仓库模块-出库单商品关联表
 * </p>
 *
 * @author Small
 * @since 2019-11-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wms_out_depot_bill_product")
public class OutDepotBillProduct extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 出库单id
     */
    private Long outDepotId;

    /**
     * 货品id
     */
    private Long productId;

    /**
     * 商品货号
     */
    private String productSn;

    /**
     * 商品id
     */
    private Long goodsId;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 数量
     */
    private Integer quantity;

    /**
     * 规格
     */
    private String spec;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 库位
     */
    private String storehouse;

    /**
     * 乐观锁
     */
    private Integer revision;

    /**
     * 创建人
     */
    private Long createdBy;

    /**
     * 创建时间
     */
    private Date createdTime;

    /**
     * 更新人
     */
    private Long updatedBy;

    /**
     * 更新时间
     */
    private Date updatedTime;

    private String styleNo;

    /**
     * 货号
     */
    private String goodsSn;

    /**
     * 商品图片
     */
    private String productImg;


    /**
     * 库存ID
     */
    private  Long  stockId;


    @TableField(exist = false)
    private String size;
    @TableField(exist = false)
    private  String color;

    private String stockSn;

    private String orderSn;

    private Integer orderType;

    private String fl;


}
